package org.apache.lucene.ocean;

import java.io.IOException;

import org.apache.lucene.store.Directory;

/**
 * Main abstract directory class.  
 */
public abstract class DirectoryMap {
  public abstract Directory create(String name) throws IOException;
  
  public abstract void delete(String name) throws IOException;
  
  public abstract Directory get(String name) throws IOException;
  
  public abstract String[] list() throws IOException;
  
  public abstract LogDirectory getDirectory();
  
  public abstract LogDirectory getLogDirectory();
}
